function diy_ajax(url,data,dataType,successfm){
    $.ajax({
            url :url,
            type : 'POST',
            data :data,
            dataType : dataType,
            contentType: "application/x-www-form-urlencoded; charset=utf-8", 
            error :myfunc,
            success :successfm
        }); 
}
function myfunc(XMLHttpRequest, textStatus, errorThrown)
{
  if(XMLHttpRequest.status==408){
  window.location = "/prip/logout.jsp";
  }else{
	  alert("系统错误，请联系管理员");
  }
}